<!--
 * @Author: [kangjie]
 * @Date: 2022-04-08 14:31:18
 * @LastEditors: [kangjie]
 * @LastEditTime: 2022-04-08 14:43:13
 * @Description: 
-->

<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <script src="./js/axios-0.20.0.js"></script>
  <script src="./js/qs-6.9.4.js"></script>
</head>

<body>
  <script>
    //get delete  head  options参数 url  配置对象
    let qs=Qs;
    let obj={
      page:1,
      pageSize:10
    }
    // axios.get('http://121.199.0.35:8888/index/carousel/findAll',{
    //   params:qs.stringify(obj)
    // });
    // post put patch参数 url 要携带的数据 配置对象
    // axios.post('http://121.199.0.35:8888/index/carousel/findAll',obj);
    axios.put('http://121.199.0.35:8888/index/carousel/findAll',obj);
    axios.patch('http://121.199.0.35:8888/index/carousel/findAll',obj);
  </script>
</body>

</html>